﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Agregar Empresa</title>
</head>
<body>
     @if (ViewBag.Error == true)
        {
           <div class="alert alert-danger" role="alert">Nombre o Codigo incorrectos</div>
        }
    <div>
        <form method="post" action="@Url.Action("Agregar", "Empresa")">
            <label>
                <label>Nombre</label>
                <input type="text" class="form-control" placeholder="Nombre de Empresa" name="Nombre">
                <label>Codigo</label>
                <input type="text" class="form-control" placeholder="Codigo de Empresa" name="Codigo">
                <button type="submit" class="btn btn-default">Agregar</button>
            </label>
        </form>
    </div>
</body>
</html>
